package cn.iocoder.yudao.module.wine.controller.app.userfans.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;
import java.time.LocalDateTime;

@Schema(description = "用户 APP - 用户粉丝信息新增/修改 Request VO")
@Data
public class AppUserFansSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "4836")
    private Long id;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14914")
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @Schema(description = "粉丝id", requiredMode = Schema.RequiredMode.REQUIRED, example = "22630")
    private Long fansId;

    @Schema(description = "关注状态 0取消关注  1关注", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "关注状态不能为空")
    private Integer subscribeStatus;

    @Schema(description = "关注时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime subscribeTime;

    @Schema(description = "取消关注时间")
    private LocalDateTime unsubscribeTime;

}
